import request from '@/utils/request'

// 查询订单服务套餐对应列表
export function listOrderscombo(query) {
  return request({
    url: '/service/orderscombo/list',
    method: 'get',
    params: query
  })
}

// 查询订单服务套餐对应详细
export function getOrderscombo(orderscomboId) {
  return request({
    url: '/service/orderscombo/' + orderscomboId,
    method: 'get'
  })
}

// 新增订单服务套餐对应
export function addOrderscombo(data) {
  return request({
    url: '/service/orderscombo',
    method: 'post',
    data: data
  })
}

// 修改订单服务套餐对应
export function updateOrderscombo(data) {
  return request({
    url: '/service/orderscombo',
    method: 'put',
    data: data
  })
}

// 删除订单服务套餐对应
export function delOrderscombo(orderscomboId) {
  return request({
    url: '/service/orderscombo/' + orderscomboId,
    method: 'delete'
  })
}
